package cn.tedu.medicalpath.prescription.mapper;

import cn.tedu.medicalpath.prescription.pojo.dto.PrescriptionQuery;
import cn.tedu.medicalpath.prescription.pojo.entity.Prescription;
import cn.tedu.medicalpath.prescription.pojo.vo.PrescriptionVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.Date;

import java.util.List;

@Repository
public interface PrescriptionMapper {
    void insertPrescription(Prescription prescription);

    void savePrescription(Prescription prescription);

    List<PrescriptionVO> selectPrescription(PrescriptionQuery prescriptionQuery);

    void updatePrescriptionById(Prescription prescription);

    void insertNullPrescription(Prescription prescription);
}
